package edu.bailie.springmvc.service;

import edu.bailie.springmvc.dao.StudentDao;
import edu.bailie.springmvc.pojo.Student;

public class StudentServiceImpl implements StudentService{
	private StudentDao dao;
	public StudentServiceImpl(StudentDao dao) {
		super();
		this.dao = dao;
	}
	@Override
	public String getStuInfo(Student student) {
		String studentInfo = dao.getStudentInfo(student);
		System.out.println(studentInfo);
		return null;
	}
}
